using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WinformDevelopFrame.Entity;

namespace WinformDevelopFrame.IRepository
{
    public interface IsysdeptRepository:IBaseRepository<sysdept>
    {
        int Add(sysdept m);
        int AddList(List<sysdept> list);

        bool UpdateN(sysdept m);
        bool UpdateList(List<sysdept> list);

        bool DeleteN(sysdept m);
        bool DeleteList(List<sysdept> list);

        sysdept QueryById(int id);
        List<sysdept> QueryList(List<int> ids);
    }
}